home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / mibs / netsnmp / NET-SNMP-PASS-MIB < prev    next >
Encoding:
Text File  |  2011-01-05  |  3.3 KB  |  125 lines

  1. NET-SNMP-PASS-MIB DEFINITIONS ::= BEGIN
  2.  
  3. --
  4. -- Example MIB objects for "pass" and "pass-persist" extension script
  5. --
  6.  
  7. IMPORTS
  8.     MODULE-IDENTITY, OBJECT-TYPE, TimeTicks, IpAddress,
  9.           Counter32, Gauge32, Integer32     FROM SNMPv2-SMI
  10.     SnmpAdminString                         FROM SNMP-FRAMEWORK-MIB
  11.     netSnmpExamples                         FROM NET-SNMP-EXAMPLES-MIB
  12. ;
  13.  
  14. netSnmpPassExamples MODULE-IDENTITY
  15.     LAST-UPDATED "200905280000Z"
  16.     ORGANIZATION "www.net-snmp.org"
  17.     CONTACT-INFO    
  18.      "postal:   Wes Hardaker
  19.                     P.O. Box 382
  20.                     Davis CA  95617
  21.  
  22.           email:    net-snmp-coders@lists.sourceforge.net"
  23.     DESCRIPTION
  24.     "Example MIB objects for pass/pass-persist extension script"
  25.     ::= { netSnmpExamples 255 }
  26.  
  27. --
  28. -- Example scalars
  29. --
  30.  
  31. netSnmpPassString OBJECT-TYPE
  32.     SYNTAX      SnmpAdminString
  33.     MAX-ACCESS  read-write
  34.     STATUS      current
  35.     DESCRIPTION "Example string scalar object."
  36.     DEFVAL { "Life, the Universe, and Everything" }
  37.     ::= { netSnmpPassExamples 1 }
  38.  
  39. netSnmpPassTimeTicks OBJECT-TYPE
  40.     SYNTAX      TimeTicks
  41.     MAX-ACCESS  read-write
  42.     STATUS      current
  43.     DESCRIPTION "Example timetick object."
  44.     DEFVAL { 363136200 }  -- 42 days, 0:42:42.00
  45.     ::= { netSnmpPassExamples 3 }
  46.  
  47. netSnmpPassIpAddress OBJECT-TYPE
  48.     SYNTAX      IpAddress
  49.     MAX-ACCESS  read-write
  50.     STATUS      current
  51.     DESCRIPTION "Example IP Address object."
  52.     DEFVAL { '7f000001'H }  -- 127.0.0.1
  53.     ::= { netSnmpPassExamples 4 }
  54.  
  55. netSnmpPassCounter OBJECT-TYPE
  56.     SYNTAX      Counter32
  57.     MAX-ACCESS  read-only
  58.     STATUS      current
  59.     DESCRIPTION "Example counter object.
  60.                  Note that this object will always return the value '42'."
  61.     ::= { netSnmpPassExamples 5 }
  62.  
  63. netSnmpPassGauge OBJECT-TYPE
  64.     SYNTAX      Gauge32
  65.     MAX-ACCESS  read-write
  66.     STATUS      current
  67.     DESCRIPTION "Example Gauge object."
  68.     DEFVAL { 42 }
  69.     ::= { netSnmpPassExamples 6 }
  70.  
  71.  
  72. netSnmpPassOIDValue OBJECT IDENTIFIER
  73.     ::= { netSnmpPassExamples 99 }
  74.  
  75. --
  76. --  Example Table
  77. --
  78.  
  79. netSnmpPassTable OBJECT-TYPE
  80.     SYNTAX      SEQUENCE OF NetSnmpPassEntry
  81.     MAX-ACCESS  not-accessible
  82.     STATUS      current
  83.     DESCRIPTION "Example table"
  84.     ::= { netSnmpPassExamples 2 }
  85.  
  86. netSnmpPassEntry OBJECT-TYPE
  87.     SYNTAX      NetSnmpPassEntry
  88.     MAX-ACCESS  not-accessible
  89.     STATUS      current
  90.     DESCRIPTION "Conceptual row in the example table."
  91.     INDEX   { netSnmpPassIndex }
  92.     ::= {netSnmpPassTable 1 }
  93.  
  94. NetSnmpPassEntry ::= SEQUENCE {
  95.     netSnmpPassIndex   Integer32,
  96.     netSnmpPassInteger Integer32,
  97.     netSnmpPassOID        OBJECT IDENTIFIER
  98. }
  99.  
  100. netSnmpPassIndex OBJECT-TYPE
  101.     SYNTAX      Integer32
  102.     MAX-ACCESS  not-accessible
  103.     STATUS      current
  104.     DESCRIPTION "Arbitrary index into the netSnmpPassTable.
  105.                  Note that there will always be one row, with index 1"
  106.     ::= { netSnmpPassEntry 1 }
  107.  
  108. netSnmpPassInteger OBJECT-TYPE
  109.     SYNTAX      Integer32
  110.     MAX-ACCESS  read-write
  111.     STATUS      current
  112.     DESCRIPTION "Example Integer (table) object."
  113.     DEFVAL { 42 }
  114.     ::= { netSnmpPassEntry 2 }
  115.  
  116. netSnmpPassOID OBJECT-TYPE
  117.     SYNTAX      OBJECT IDENTIFIER
  118.     MAX-ACCESS  read-write
  119.     STATUS      current
  120.     DESCRIPTION "Example OID (table) object."
  121.     DEFVAL { netSnmpPassOIDValue }
  122.     ::= { netSnmpPassEntry 3 }
  123.  
  124. END
  125.